package com.alibaba.sdk.model.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 查看单条用户信息参数类
 *
 * @author Shawn (Shawn_0108@163.com)
 * @version 1.0
 * @date 2020/6/8 15:40
 */
@Data
@ApiModel(description = "查看单条用户信息参数类")
public class OneUserInput implements Serializable {

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", required = true)
    @NotNull(message = "用户id不能为空")
    private Long userId;

    private static final long serialVersionUID = 5884152869209695889L;
}
